<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

<%--
  Created by Petro 02.12.12 19:56
--%>
<table>
    <tr>
        <td>Друзья онлайн</td>
    </tr>
    <sec:authorize url="/realty">
        <tr>
            <td>Друзья офлайн</td>
        </tr>
    </sec:authorize>
    <sec:authorize url="/users">
        <tr>
            <td>что-то еще</td>
        </tr>
    </sec:authorize>
</table>